#ifndef __LCD_CHINESE_SHOW_H
#define __LCD_CHINESE_SHOW_H

#include <stdio.h> 
#include <stdlib.h> 
#include <sys/types.h> 
#include <sys/stat.h> 
#include <fcntl.h> 
#include <unistd.h> 
#include <sys/ioctl.h> 
#include <string.h> 
#include <errno.h> 
#include <sys/mman.h> 
#include <linux/fb.h> 
#include <math.h>              //数学库函数头文件 
 
#include <wchar.h> 
#include <ft2build.h> 
#include FT_FREETYPE_H
#include "lcd.h"

extern int width;                   
extern int height;                     
extern unsigned short *screen_base;  // 移除static
extern unsigned int screen_size;
extern struct fb_fix_screeninfo fb_fix;
extern struct fb_var_screeninfo fb_var;

static FT_Library library; 
static FT_Face face; 

#include "lcd_chinese_show.h"

static int fb_dev_init(void);
static int freetype_init(const char *font,int angle);
static void lcd_draw_character(int x, int y, const wchar_t *str, unsigned int color) ;
void lcd_chinese_init(void);
void lcd_chinese_exit(void);
void lcd_chinese_show(char *str);

#endif